import {formatDate} from '../components/date.js';

export const editInlineAndCellColumn = [
    {
        title: '序号',
        type: 'index',
        width: 80,
        align: 'center'
    },
    {
        title: '违章行为记录',
        align: 'center',
        key: 'illegalName'
    },
    {
        title: '分值',
        align: 'center',
        key: 'illegalScore',
        render:function(){
        	return this.row.illegalScore +"分"
        }
    },
    {
        title: '操作',
        align: 'center',
        width: 250,
        key: 'handle',
        handle: ['edit','delete']
    }
];

const tableData = {
    editInlineAndCellColumn: editInlineAndCellColumn,
};


export default tableData;
